import { FC } from 'react'
import './App.less'
import { BrowserRouter as Router } from 'react-router-dom'
import ConfigRoutes from './router' 

// FC就是FunctionComponent的缩写，是函数组件
const App: FC = () => (
	<div className="app-container">
		<Router>
			<ConfigRoutes />
		</Router>
	</div>
)

export default App
